#!/bin/bash
perl -e 'print "prog main.elf\nexit\n"' | mspdebug rf2500
